package com.hiwan.unions.activity.webView;

import android.annotation.SuppressLint;
import android.os.Bundle;

import com.hiwan.unions.activity.base.BaseWebView;
import com.hiwan.unions.util.Utils;

/**
 * Created by llg on 2016/4/11.
 */
@SuppressLint("SetJavaScriptEnabled")
public class WebViewNoTitleActivity extends BaseWebView {
    private Bundle bundle;

    private void local(final Bundle bundle) {
        method = bundle.getString("method");
        myWebView.loadUrl(Utils.Urls(bundle.getString("url"), userInfoC, userInfo));
        getToken();
    }

    @Override
    protected int getLayout() {
        title = false;
        return super.getLayout();
    }

    //初始GRIDVIEW数据  --离线数据
    @Override
    public void local() {
        super.local();
        if (getIntent().getExtras() != null) {
            bundle = this.getIntent().getExtras();
            local(bundle);
        }
    }

    @Override
    public void setNavigationView2() {
        super.setNavigationView2();
    }

    @Override
    public void onViewCreateds() {
        super.onViewCreateds();

    }
}
